/*
编写 : Hexh
时间 : 2012-5-25 15:23:01
*/
using System.Collections.Generic;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;
using HMIS.Infrastructure.Core.Entities;

namespace HMIS.Infrastructure.Facade
{
	/// <summary>
	///	 the interface of IInfraApproveLogFacade
	/// </summary>
	public interface IInfraApproveLogFacade : IDomainFacade
	{

		InfraApproveLog Get(string id);

		InfraApproveLog Load(string id);

		void SaveOrUpdate(InfraApproveLog entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<InfraApproveLog> GetAll();

		IList<InfraApproveLog> GetPlist(string approveItemId, string approveType, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

	}
}
